FROM node:18

WORKDIR /app

COPY package.json .

RUN yarn --registry=https://registry.npmmirror.com

COPY . .

RUN yarn build

EXPOSE 5000

ENV TZ=Asia/Shanghai
